import { Component } from 'vue';

export type Value = string | boolean | number | Date | Value[];
export type Options = { [key: string]: Value };
export type Components = Component | string;
export interface Config {
  key: string;
  value: Value;
  component: Components;
  defaultValue?: Value;
  options?: Options[] | Function;
  span?: number;
  flexAuto?: boolean;
  label?: string;
  bind?: { [key: string]: any };
  on?: { [key: string]: any };
}
